package com.ruicar.afs.cloud.apply.pre.loan.mq.sender.service;

import com.ruicar.afs.cloud.common.modules.dto.mq.approve.ConditionalApprovalReturnInfo;
import com.ruicar.afs.cloud.common.mq.rabbit.message.AfsTransEntity;

import java.text.ParseException;

/**
 * 附条件核准service
 *
 * @author 耿继辉
 */
public interface ConditionApprovalMessageSenderSerevice {

    /**
     * 附條件核准報文組裝
     *
     * @param applyNo
     * @return
     * @throws ParseException
     */
    public AfsTransEntity<ConditionalApprovalReturnInfo> returnMessage(String applyNo) throws ParseException;
}
